package cn.itcast.eduorder.client;

import cn.itcast.commonutils.ordervo.UCenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "service-ucenter")
public interface UCenterClient {
    @PostMapping("/educenter/member/getMemberInfo/{memberId}")
    public UCenterMemberOrder getMemberInfo(@PathVariable String memberId);
}
